// 管理容器样式
.manage-container {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 24px;
  transition: all 0.3s ease;
}
// 搜索框样式
.srarch-box {
  margin-bottom: 2rem;
}
// 按钮盒子样式
.btn-box {
  margin-bottom: 20px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

// 对话框按钮盒子样式
.dialog-btn-box {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

// 添加按钮样式
.add-btn {
  background-color: @s-primary-color;
  border-color: @s-primary-color;
  transition: all 0.3s ease;

  &:hover {
    background-color: @s-primary-color-hover;
    border-color: @s-primary-color-hover;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
}

// 表格样式
.el-table {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;

  .el-table__header-wrapper {
    background-color: #f5f7fa;
  }

  .el-table__body tr {
    transition: all 0.2s ease;

    &:hover {
      background-color: #f9fafc;
      transform: scale(1.003);
    }
  }

  .el-table__body tr.el-table__row--striped {
    background-color: #fafafa;
  }

  .el-table__body tr.el-table__row--striped:hover {
    background-color: #f5f7fa;
  }
}

// 按钮样式
.el-button {
  transition: all 0.3s ease;
  border-radius: 6px;
  margin-right: 5px;

  &.el-button--primary {
    background-color: @s-primary-color;
    border-color: @s-primary-color;

    &:hover {
      background-color: @s-primary-color-hover;
      border-color: @s-primary-color-hover;
      transform: translateY(-2px);
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
  }

  &.el-button--success {
    background-color: #52c41a;
    border-color: #52c41a;

    &:hover {
      background-color: #73d13d;
      border-color: #73d13d;
      transform: translateY(-2px);
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
  }

  &.el-button--danger {
    background-color: #ff4d4f;
    border-color: #ff4d4f;

    &:hover {
      background-color: #ff7875;
      border-color: #ff7875;
      transform: translateY(-2px);
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
  }
}

// 表单样式
.el-form-item {
  margin-bottom: 16px;
}

.s-form-title {
  font-size: 14px;
  font-weight: 500;
  margin: 16px 0 8px;
  color: #303133;
}

.form-note {
  padding: 10px 15px;
  background-color: #f4f4f5;
  border-radius: 4px;
  margin-top: 5px;
  margin-bottom: 15px;
  line-height: 1.6;
  font-size: 12px;
  color: #606266;
}

// 对话框样式
.el-dialog {
  border-radius: 12px;
  overflow: hidden;
}

.el-dialog__header {
  background-color: #f5f7fa;
  padding: 16px 24px;
}

.el-dialog__title {
  font-size: 16px;
  font-weight: 500;
}

.el-dialog__body {
  padding: 24px;
}

// 开关样式
.auto-compress {
  margin-left: 10px;
}

// 路径项样式
.path-item {
  padding: 10px 15px;
  background-color: #f9fafc;
  border-radius: 6px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;

  &:hover {
    background-color: #f0f2f5;
  }
}

.path-btn-box {
  display: flex;
  gap: 5px;
}

.path-item-btn {
  height: 28px;
  padding: 0 10px;
  font-size: 12px;
}

// 响应式设计
@media only screen and (min-width: 1200px) {
  .manage-container {
    width: 100%;
    max-width: 1400px;
    margin: 30px auto;
  }
}

@media only screen and (max-width: 1199px) and (min-width: 768px) {
  .manage-container {
    width: 100%;
    max-width: 900px;
    margin: 20px auto;
  }
}

@media only screen and (max-width: 767px) {
  .manage-container {
    width: 100%;
    margin: 10px auto;
    padding: 16px;
  }

  .el-table {
    font-size: 12px;
  }

  .el-button {
    padding: 6px 12px;
    font-size: 12px;
  }
}
